﻿@model BYSJ.Web.Models.FileSearchlist
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/base.cshtml";
}

@section TitleSection{
    河南中医药大学数据结构学习系统文件资源
}
@section  JsSection{
<link href="~/Content/acount/shearch.css" rel="stylesheet" />
}   
@section bodycontent{

    @if (Model.file != null && Model.file.Count > 0)
{
    <div class="tablefile">
      
                        @foreach (var item in Model.file)
            {
    <div class="fildiv">
        <span><a href="@item.filerel">@item.name</a> </span>
        <span>@item.username</span>
                    <span class="time">@item.time</span>
                </div>
            }
   
    </div>
}
else
{
    <div class="filenone">
        <h2>您要的资源还还有人上传，去互联网找找吧！！</h2>
        <div class="filimg">
            <img src="~/image/6FGeKSX21V.jpg" />
        </div>
    </div>
}
}